package com.niit.dormitory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.niit.dormitory.entity.Dormitory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface DormitoryMapper extends BaseMapper<Dormitory> {
    public void subAvailable(Integer id);

    public void addAvailable(Integer id);

    public Integer findAvailableDormitoryId();
}
